package com.java1412.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author java1412
 * @create 2021-05-20 14:25
 * @description db1数据源配置类
 */
@ConfigurationProperties(prefix = "spring.datasource.ds1")
@Component("ds1Properties")
@Data
public class Ds1Properties {
    private String url;
    private String username;
    private String password;
    private String driverClassName;
}
